/**
 * Created by imac13 on 19/1/3.
 */
import React, { Component } from 'react';
import Header from './common/header';
import Footer from './common/footer';
import NavLeft from './common/navLeft';
import { Row,Col } from 'antd';
import 'antd/dist/antd.css';
import './style/common.less'

class Admin extends Component {
    render() {
        return (
            <Row className="container">
                <Col span={4} className="nav-left">
                    <NavLeft/>
                </Col>
                <Col span={20} className="main">
                    <Header/>
                    <Row className="content">
                        {this.props.children}
                    </Row>
                    <Footer/>
                </Col>
            </Row>
        );
    }
}

export default Admin;
